PROJECT(fbvnc)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)


FILE(GLOB SOURCES src/*.c)
ADD_EXECUTABLE(fbvnc ${SOURCES})
INSTALL(TARGETS fbvnc RUNTIME DESTINATION bin)

# LIBVNC
find_library(LIBVNC NAMES libvncserver vncserver)
target_link_libraries(fbvnc ${LIBVNC})


MESSAGE( STATUS "LIBVNC:         " ${LIBVNC} )
